package com.shiguiwu.springmybatis.designpattern.observe;

import com.shiguiwu.springmybatis.designpattern.observe.service.LotteryService;
import com.shiguiwu.springmybatis.designpattern.observe.service.impl.LotteryServiceImpl;

/**
 * @description: 观察着模式 行为模式
 * @author: stone
 * @date: Created by 2021/9/3 14:33
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.designpattern.observe
 */
public class ObserveTests {

    public static void main(String[] args) {
        LotteryService lotteryService = new LotteryServiceImpl();

        //lotteryService.doDraw("10012");
        lotteryService.draw("10025");

    }
}
